<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <title>Title</title>
  </head>
  <body>
    <input type="text" placeholder="请输入1-100之间的整数" v-model="number" />
    <input type="button" value="猜一猜" @click="f1()" />
  </body>
  <script src="./js/vue.min.js"></script>
  <script>
    <!--生成一个随机数-->
    let x = parseInt(Math.random() * 100) + 1;
    let v = new Vue({
      el: "body>div",
      data: {
        info: "",
        number: "",
      },
      methods: {
        f() {},
      },
    });
  </script>
</html>
